//app.js
//app.js
var route = require("/utils/route.js");
var network = require("/utils/network.js");
App({
    onLaunch: function () {
        // 展示本地存储能力
        var logs = wx.getStorageSync('logs') || []
        logs.unshift(Date.now())
        wx.setStorageSync('logs', logs)
    },
    globalData: {
        userInfo: null
    },
    route: route,
    network: network
})